package com.loby;

import com.loby.data.base.pojo.TBaseOrganization;
import com.loby.data.rest.RestResult;
import com.loby.service.api.BaseMonitorDataServiceApi;
import org.springframework.beans.factory.annotation.Autowired;

public class Start {
    @Autowired
    private static BaseMonitorDataServiceApi zooDataSynchronizationApi;
    public static void main(String[] args) throws Exception {
        TBaseOrganization tBaseOrganization = new TBaseOrganization();
        tBaseOrganization.setPkOrgCode("87979781");
        tBaseOrganization.setOrgName("双方");
        tBaseOrganization.setPhoneticIndex("s");
        RestResult restResult = zooDataSynchronizationApi.newOrganization(tBaseOrganization);
        System.out.println(restResult);
    }
}
